@import './base.css';
@tailwind base;
@tailwind components;
@tailwind utilities;

/* 自定义样式 */
.code-editor {
  font-family: 'Consolas', '微软雅黑', 'Microsoft YaHei', 'Monaco', 'Courier New', monospace;
}

/* CodeMirror 编辑器样式 */
.CodeMirror {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-family: 'Consolas', '微软雅黑', 'Microsoft YaHei', 'Monaco', 'Courier New', monospace;
  font-size: 14px;
  background: #fafafa;
  transition: border-color 0.3s;
}

.CodeMirror-focused {
  border-color: #4facfe;
  background: white;
}

.CodeMirror-scroll {
  min-height: 400px;
}
